package com.yxinsur.imc.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yxinsur.imc.common.annotation.Excel;
import com.yxinsur.imc.common.core.domain.BaseImcEntity;

/**
 * 我的保险产品库(险种)对象 imc_ins
 * 
 * @author imc
 * @date 2021-03-26
 */
public class ImcIns extends BaseImcEntity
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private String id;

    /** 产品库外键 */
    @Excel(name = "产品库外键")
    private Long repoInsId;

    /** 扩展字段1名称 */
    @Excel(name = "扩展字段1名称")
    private String factor1Title;

    /** 扩展字段2名称 */
    @Excel(name = "扩展字段2名称")
    private String factor2Title;

    /** 扩展字段3名称 */
    @Excel(name = "扩展字段3名称")
    private String factor3Title;

    /** 租户id,一个租户id唯一对一个机构id（默认机构id为根节点id暨法人机构） */
    @Excel(name = "租户id,一个租户id唯一对一个机构id")
    private Long tenantId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setRepoInsId(Long repoInsId) 
    {
        this.repoInsId = repoInsId;
    }

    public Long getRepoInsId() 
    {
        return repoInsId;
    }
    public void setTenantId(Long tenantId)
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }

    public String getFactor1Title() {
        return factor1Title;
    }

    public void setFactor1Title(String factor1Title) {
        this.factor1Title = factor1Title;
    }

    public String getFactor2Title() {
        return factor2Title;
    }

    public void setFactor2Title(String factor2Title) {
        this.factor2Title = factor2Title;
    }

    public String getFactor3Title() {
        return factor3Title;
    }

    public void setFactor3Title(String factor3Title) {
        this.factor3Title = factor3Title;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("repoInsId", getRepoInsId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .append("createId", getCreateId())
            .append("tenantId", getTenantId())
            .toString();
    }
}
